<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@include file="/page/jspf/prepare.jspf"%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<%@include file="/page/jspf/head.jspf"%>
<script type="text/javascript" src="${ ctx }/static/js/jquery.fileupload.js"></script> 
<script type="text/javascript" src="${ ctx }/static/js/jquery.iframe-transport.js"></script>  

<script type="text/javascript">
$(function(){
/* 	$( "#accordion" ).accordion({ active: false }); */
});
	
</script>
</head>
<body>
	<div class="form-group clearfix">
			<div class="col-sm-offset-3 col-sm-9">
				<button type="button" class="btn btn-info action-back">
					<i class="glyphicon glyphicon-repeat"></i> 返回
				</button>
			</div>
		</div>
	<div class="panel-group" id="accordion">
		
		<c:forEach items="${data}" var="cur" >
		<div class="panel panel-default">
			<div class="panel-heading">
				<h4 class="panel-title">
					<a data-toggle="collapse" data-parent="#accordion" 
					   href="#${fn:replace(cur.key, '.', '_')}">
						${cur.key }
					</a>
				</h4>
			</div>
			<div id="${fn:replace(cur.key, '.', '_')}" class="panel-collapse collapse">
				<div class="panel-body">
					<textarea rows="30" cols="50" style="width: 100%;">
						${cur.value }
					</textarea>
				</div>
			</div>
		</div>
		</c:forEach>	
	</div>
</body>
</html>
